# 导入了 Flask 类
from flask import Flask

app = Flask(__name__)


# $ export FLASK_APP=Hello
# $ flask run
@app.route("/")
def hello_world():
    return "<p>Hello, World!</p>"

# 类似JAVA main方法启动服务
if __name__ == '__main__':
    app.run()
